package seis645;
import seis645.Address;

public class Salesperson {

	private String f_name, l_name;
	private String phone_number;
	private Address address = new Address();
	
	public void set_fname(String fname) {
		this.f_name = fname;
	}
	
	public void set_lname(String lname) {
		this.l_name = lname;
	}
	
	public void set_phone_number(String phone_number) {
		this.phone_number = phone_number;
	}
	
	public void set_address(Address addr) {
		this.address = addr;
	}
	
	public String get_fname() {
		return this.f_name;
	}
	
	public String get_lname() {
		return this.l_name;
	}
	
	public String get_full_name() {
		return this.f_name + this.l_name;
	}
	
	public String get_phone_number() {
		return this.phone_number;
	}
	
	public Address get_address() {
		return this.address;
	}

	public Salesperson() {
		this.f_name = "";
		this.l_name = "";
		this.phone_number = "";
	}
	
	public Salesperson(String fname, String lname, String phone, Address addr) {
		this.f_name = fname;
		this.l_name = lname;
		this.phone_number = phone;
		this.address = addr;
	}
}
